package com.eb.mapper;

import com.eb.pojo.Also;
import com.eb.pojo.AlsoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlsoMapper {
    int countByExample(AlsoExample example);

    int deleteByExample(AlsoExample example);

    int deleteByPrimaryKey(Also key);

    int insert(Also record);

    int insertSelective(Also record);

    List<Also> selectByExample(AlsoExample example);

    Also selectByPrimaryKey(Also key);

    int updateByExampleSelective(@Param("record") Also record, @Param("example") AlsoExample example);

    int updateByExample(@Param("record") Also record, @Param("example") AlsoExample example);

    int updateByPrimaryKeySelective(Also record);

    int updateByPrimaryKey(Also record);

    int findCount(Long userid, String goodsname);
}